package com.bwie.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 字典表
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "tb_dict")
public class Dict implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @TableId(value = "dict_id", type = IdType.AUTO)
    private Integer dictId;

    /**
     * 名称
     */
    @TableField(value = "dict_name")
    private String dictName;

    /**
     * 字典值
     */
    @TableField(value = "dict_value")
    private Integer dictValue;

    /**
     * 字典类型
     */
    @TableField(value = "dict_type")
    private Integer dictType;
}